-
-
Notifications
You must be signed in to change notification settings - Fork 2.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[1.20.6] Add GatherItemComponentsEvent #9944
[1.20.6] Add GatherItemComponentsEvent #9944
Conversation
src/main/java/net/minecraftforge/event/GatherItemComponentsEvent.java
Outdated
Show resolved
Hide resolved
src/main/java/net/minecraftforge/event/GatherItemComponentsEvent.java
Outdated
Show resolved
Hide resolved
So, This seems like a good simple solution for adding generic modded components to Items. |
Expanded on GatherComponentsEvent.java to be an abstract class.
@RealMangorage, this pull request has conflicts, please resolve them for this PR to move forward. |
…-GatherComponentsPR # Conflicts: # src/main/java/net/minecraftforge/event/ForgeEventFactory.java
@RealMangorage, this pull request has conflicts, please resolve them for this PR to move forward. |
src/main/java/net/minecraftforge/event/GatherComponentsEvent.java
Outdated
Show resolved
Hide resolved
…, and passing it thru.
…-GatherComponentsPR # Conflicts: # src/main/java/net/minecraftforge/common/ForgeHooks.java # src/main/java/net/minecraftforge/event/ForgeEventFactory.java
This event allows you to add Components to Items thru the use of Events.
Example usage ->
https://gist.github.com/RealMangorage/07bb772edb570023fba9fefed1523cea